package com.csi.juegoweb.dao;

import java.util.List;

import com.csi.juegoweb.domain.Donacion;
@SuppressWarnings("unchecked")
public interface DonacionDAO {

	// property constants
	public static final String CO_JUGDES = "coJugdes";
	public static final String FL_CONFIRN = "flConfirn";
	public static final String NU_MONTO = "nuMonto";

	public abstract void save(Donacion transientInstance);

	public abstract void delete(Donacion persistentInstance);

	public abstract Donacion findById(java.lang.Integer id);

	public abstract List findByExample(Donacion instance);

	public abstract List findByProperty(String propertyName, Object value);
	
	public abstract List<Donacion> findByProperty(String propertyNameOne, Object valueOne,
			String propertyNameTwo, Object valueTwo);

	public abstract List findByCoJugdes(Object coJugdes);

	public abstract List findByFlConfirn(Object flConfirn);

	public abstract List findByNuMonto(Object nuMonto);

	public abstract List findAll();

	public abstract Donacion merge(Donacion detachedInstance);

	public abstract void attachDirty(Donacion instance);

	public abstract void attachClean(Donacion instance);
	
	public abstract Donacion findByPropertys(String propertyNameOne, Object valueOne,
			String propertyNameTwo, Object valueTwo);

}